import { api } from '../creat-api'

//今日数据
export const getStatisticsTodays = () => {
  return api.get('mgr/statisticsTodays/count')
}

//入库数量统计
export function getPutCount(params) {
  return api({
    url: 'mgr/statisticsEveryDays/putCount',
    params,
  })
}
//入库时长统计
export function getPutDuration(params) {
  return api({
    url: 'mgr/statisticsEveryDays/putDuration',
    params,
  })
}

//推送数量统计
export function getPushCount(params) {
  return api({
    url: '/mgr/statisticsPushEveryDays/pushCount',
    params,
  })
}
export function getPushDuration(params) {
  return api({
    url: '/mgr/statisticsPushEveryDays/pushDuration',
    params,
  })
}
//
export function getMonitorChart(params) {
  return api({
    url: '/mgr/monitor/content/chart',
    params,
  })
}
